package com.sc.nft.entity.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class SelectDataByTimeVO {

    @ApiModelProperty(value = "投入燃料")
    private String putIntoFuel;

    @ApiModelProperty(value = "发放燃料")
    private String fuelRelease;

    @ApiModelProperty(value = "铸造消耗燃料")
    private String foundryFuelConsumption;


    public void setPutIntoFuel(BigDecimal putIntoFuel) {
        this.putIntoFuel = putIntoFuel.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setFuelRelease(BigDecimal fuelRelease) {
        this.fuelRelease = fuelRelease.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setFoundryFuelConsumption(BigDecimal foundryFuelConsumption) {
        this.foundryFuelConsumption = foundryFuelConsumption.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }
}
